package _16AdapterDesignPattern;

public class Adpater2 {
    private Target target;
    public Adpater2(Target target){
        this.target=target;
    }
    public void weituo18V(){
        System.out.println("使用适配器，这种事委托形式的");
        this.target.user220V();
    }
}
